[] spawn { execVM "base\helilift\heli_init.sqf"; };

setViewDistance (ViewDistanceValues select CONFIG_Default_ViewDistance);
setTerrainGrid (VegetationLevel select CONFIG_Default_Grass);

[2, "d_m_box", {_this spawn XfCreateBoxNet}] call XNetAddEvent;
[2, "d_r_box", {_this spawn XfRemoveBoxNet}] call XNetAddEvent;
[2, "d_air_box", {_this spawn XfCreateAirBoxNet}] call XNetAddEvent;
[2, "d_w_ma", {deleteMarkerLocal _this}] call XNetAddEvent;
// Calling this event will execute code on all player computers
[2, "d_p_exec", {_this spawn compile (_this select 0)}] call XNetAddEvent;
[2, "d_msg", { _this call XfHandleMessage}] call XNetAddEvent;
[2, "d_arty_trail", {_this spawn XfArtyShellTrail}] call XNetAddEvent;

execVM "base\client\ammo_box_fill.sqf";
if (D_WeatherWinter) then {
	execVM "base\client\weather_winter.sqf";
};
diag_log "i_client.sqf";